Keyword

Removing {loadposition xxx} text [SOLVED]

  • Konstantinos Patsogiannis
  • Konstantinos Patsogiannis's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago - 11 years 1 month ago #117542 by Konstantinos Patsogiannis
Removing {loadposition xxx} text [SOLVED] was created by Konstantinos Patsogiannis
Hi there.

Is there any way to remove the {loadposition xxx} text from introtext?

inthessaloniki.com/restaurant

It is really annoying to have it there.

Hope to be some solution.

Thank you guys and girls in advance

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 1 month ago #117543 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Removing {loadposition xxx} text
I would suggest searching this forum and using a snippet in order to render position in your item.php (possibly creating a new K2 Template and hardcoding it in your template ). This is a more fail safe method and you will never have to use {loadposition} anywhere.

More on overriding can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Konstantinos Patsogiannis
  • Konstantinos Patsogiannis's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #117544 by Konstantinos Patsogiannis
Replied by Konstantinos Patsogiannis on topic Re: Removing {loadposition xxx} text

Krikor Boghossian wrote: I would suggest searching this forum and using a snippet in order to render position in your item.php (possibly creating a new K2 Template and hardcoding it in your template ). This is a more fail safe method and you will never have to use {loadposition} anywhere.

More on overriding can be found here: getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates



Isn't any other way?I use this feuture for a long time and the website is quite big right now. I believe that I do not have the knoledge yet for something so big.

Please Log in or Create an account to join the conversation.

  • Konstantinos Patsogiannis
  • Konstantinos Patsogiannis's Avatar Topic Author
  • Offline
  • New Member
More
11 years 1 month ago #117545 by Konstantinos Patsogiannis
Replied by Konstantinos Patsogiannis on topic Re: Removing {loadposition xxx} text [SOLVED]
I just found out the solution which is really simple.

In K2 parameters, in advanced tab you choose to have seperate editors for introtext and main text.

You wright the things where you want and it works perfect after that!

Do not forget to hide introtext in Item options

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum